package com.example.exampleretry.entity;

import jakarta.annotation.Generated;
import lombok.Builder;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Column;
import org.springframework.data.relational.core.mapping.Table;

import java.util.UUID;

@Builder
@Data
@Table(value = "customer")
public class Customer {
    @Id
    private UUID customerCode;
    @Column("customer_name")
    private String customerName;
}
